package com.anjie.powerproject.repository;

import com.anjie.powerproject.entity.ItemInfo;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query;

public interface ItemInfoRepository extends JpaRepository<ItemInfo,Integer> {

    @Query(nativeQuery = true,value = "select * from item_info where remark = ?1")
    ItemInfo findItemInfoByRemark(String remark);
}
